package cn.iocoder.yudao.module.cmt.controller.admin.notify.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - Message分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CmtNotifyMessagePageReqVO extends PageParam {

    @Schema(description = "社区ID", example = "1")
    private Long communityId;

    @Schema(description = "商户ID", example = "1")
    private Long merchantId;

    @Schema(description = "接收会员ID", example = "1")
    private Long userId;

    @Schema(description = "消息类型：1系统通知 2活动消息 3服务消息 4评论回复", example = "1")
    private Integer messageType;

    @Schema(description = "是否已读：0否 1是", example = "1")
    private Integer isRead;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
